<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="icon" type="image/png" href="bird.png">
    <title>Bolg-by-Bootstrap4</title>
    <link rel="stylesheet" href="css/bootstrap.css">
    <link rel="stylesheet" href="custom.css">
    <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
    <script src="js/bootstrap.bundle.js"></script>
    <link rel="stylesheet" href="https://at.alicdn.com/t/font_2740368_odv1fzgzrw.css">
</head>
<body>
    <div class="container-fluid">
        <!-- 头部导航 -->
        <nav class="navbar navbar-expand-sm navbar-dark bg-dark fixed-top">
            <a href="#" class="navbar-brand offset-sm-1"><span class="iconfont icon-niao"></span> C-Bird</a>
            <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar-list" aria-controls="navbar-list" aria-expanded="false" aria-label="Toggle navigation">
                <span class="navbar-toggler-icon"></span>
            </button>
            
            <div class="collapse navbar-collapse" id="navbar-list">
                <ul class="navbar-nav">
                    <li class="nav-item active">
                        <a href="#index" class="nav-link">首页</a>
                    </li>
                    <li class="nav-item">
                        <a href="#article" class="nav-link">文章</a>
                    </li>
                    <li class="nav-item">
                        <a href="#mark" class="nav-link">笔记</a>
                    </li>
                    <li class="nav-item">
                        <a href="#topic" class="nav-link">话题</a>
                    </li>
                    <li class="nav-item">
                        <a href="#yule" class="nav-link">娱乐</a>
                    </li>
                    <li class="nav-item">
                        <a href="#about" class="nav-link">关于</a>
                    </li>
                </ul>
                <!-- <form class="form-inline my-2 mr-2 hide-sm">
                    <input class="form-control mr-sm-2" type="text" placeholder="输入搜索内容">
                </form> -->
            </div>
        </nav>
        <!-- 主体部分 -->
        <div class="main d-sm-flex flex-sm-row justify-content-sm-between">
            <div class="article col-sm-7 pl-0 offset-sm-1">
                <div class="card shadow mb-3">
                    <div class="card-body pb-1">
                        <h5 class="card-title">聊聊 Go 基于 Interface 的泛型</h5>
                        <p class="card-text">
                            Go 泛型的草案已经基本定型了，与其他语言最大的不同应该就是 Go 的泛型利用 Interface 做 Constraint，可以说是与现有的 Interface 充分结合
                        </p>
                        <div class="card-footer pl-0 pr-0 text-secondary">
                            <span class="pl-0 pr-2 border-right"><i class="iconfont icon-tag mr-2"></i>Golang</span>
                            <span class="ml-2 pl-0 pr-2 border-right hide-span"><i class="iconfont icon-shijian mr-2"></i>2021-08-12 16:06</span>
                            <span class="ml-2 pl-0 pr-2 border-right"><i class="iconfont icon-liulanjilu mr-2"></i>浏览(0)</span>
                            <span class="ml-2 pl-0 pr-2 hide-span"><i class="iconfont icon-zan mr-2"></i>赞(0)</span>
                            <span class="pl-0 float-right"><i class="iconfont icon-zuozhe mr-2"></i>上班偷偷吃个馍</span>
                        </div>
                    </div>
                </div>
                <div class="card shadow mb-3">
                    <div class="card-body pb-1">
                        <h5 class="card-title">go1.16 新增的embed在各流行Web框架中的应用</h5>
                        <p class="card-text">
                            Golang 1.16版本新增了一个大家期待已久的特性//go:embed,它的作用就是可以在Go语言应用程序中包含任何文件、目录的内容，也就是说我们可以把文件以及目录中的内容都打包到生成的Go语言应用程序中了，部署的时候，直接扔一个二进制文件就可以了，不用再包含一些静态文件了，因为它们已经被打包到生成的应用程序中了。
                        </p>
                        <div class="card-footer pl-0 pr-0 text-secondary">
                            <span class="pl-0 pr-2 border-right"><i class="iconfont icon-tag mr-2"></i>Golang</span>
                            <span class="ml-2 pl-0 pr-2 border-right hide-span"><i class="iconfont icon-shijian mr-2"></i>2021-08-12 16:06</span>
                            <span class="ml-2 pl-0 pr-2 border-right"><i class="iconfont icon-liulanjilu mr-2"></i>浏览(0)</span>
                            <span class="ml-2 pl-0 pr-2 hide-span"><i class="iconfont icon-zan mr-2"></i>赞(0)</span>
                            <span class="pl-0 float-right"><i class="iconfont icon-zuozhe mr-2"></i>上班偷偷吃个馍</span>
                        </div>
                    </div>
                </div>
                <div class="card shadow mb-3">
                    <div class="card-body pb-1">
                        <h5 class="card-title">PHP对象序列化</h5>
                        <p class="card-text">
                            PHP中序列化数据使用的两个方法: serialize() 和 unserialize() 。 对一个自定义对象序列化时，有4个魔术方法和预定义接口Serializable，共3个层级。
                        </p>
                        <div class="card-footer pl-0 pr-0 text-secondary">
                            <span class="pl-0 pr-2 border-right"><i class="iconfont icon-tag mr-2"></i>PHP</span>
                            <span class="ml-2 pl-0 pr-2 border-right hide-span"><i class="iconfont icon-shijian mr-2"></i>2021-08-12 18:06</span>
                            <span class="ml-2 pl-0 pr-2 border-right"><i class="iconfont icon-liulanjilu mr-2"></i>浏览(1000)</span>
                            <span class="ml-2 pl-0 pr-2 hide-span"><i class="iconfont icon-zan mr-2"></i>赞(0)</span>
                            <span class="pl-0 float-right"><i class="iconfont icon-zuozhe mr-2"></i>上班偷偷吃个馍</span>
                        </div>
                    </div>
                </div>
                <div class="card shadow mb-3">
                    <div class="card-body pb-1">
                        <h5 class="card-title">PHP对象序列化</h5>
                        <p class="card-text">
                            PHP中序列化数据使用的两个方法: serialize() 和 unserialize() 。 对一个自定义对象序列化时，有4个魔术方法和预定义接口Serializable，共3个层级。
                        </p>
                        <div class="card-footer pl-0 pr-0 text-secondary">
                            <span class="pl-0 pr-2 border-right"><i class="iconfont icon-tag mr-2"></i>PHP</span>
                            <span class="ml-2 pl-0 pr-2 border-right hide-span"><i class="iconfont icon-shijian mr-2"></i>2021-08-12 18:06</span>
                            <span class="ml-2 pl-0 pr-2 border-right"><i class="iconfont icon-liulanjilu mr-2"></i>浏览(1000)</span>
                            <span class="ml-2 pl-0 pr-2 hide-span"><i class="iconfont icon-zan mr-2"></i>赞(0)</span>
                            <span class="pl-0 float-right"><i class="iconfont icon-zuozhe mr-2"></i>上班偷偷吃个馍</span>
                        </div>
                    </div>
                </div>
                <div class="card shadow mb-3">
                    <div class="card-body pb-1">
                        <h5 class="card-title">PHP对象序列化</h5>
                        <p class="card-text">
                            PHP中序列化数据使用的两个方法: serialize() 和 unserialize() 。 对一个自定义对象序列化时，有4个魔术方法和预定义接口Serializable，共3个层级。
                        </p>
                        <div class="card-footer pl-0 pr-0 text-secondary">
                            <span class="pl-0 pr-2 border-right"><i class="iconfont icon-tag mr-2"></i>PHP</span>
                            <span class="ml-2 pl-0 pr-2 border-right hide-span"><i class="iconfont icon-shijian mr-2"></i>2021-08-12 18:06</span>
                            <span class="ml-2 pl-0 pr-2 border-right"><i class="iconfont icon-liulanjilu mr-2"></i>浏览(1000)</span>
                            <span class="ml-2 pl-0 pr-2 hide-span"><i class="iconfont icon-zan mr-2"></i>赞(0)</span>
                            <span class="pl-0 float-right"><i class="iconfont icon-zuozhe mr-2"></i>上班偷偷吃个馍</span>
                        </div>
                    </div>
                </div>
                <div class="card shadow mb-3">
                    <div class="card-body pb-1">
                        <h5 class="card-title">聊聊 Go 基于 Interface 的泛型</h5>
                        <p class="card-text">
                            Go 泛型的草案已经基本定型了，与其他语言最大的不同应该就是 Go 的泛型利用 Interface 做 Constraint，可以说是与现有的 Interface 充分结合
                        </p>
                        <div class="card-footer pl-0 pr-0 text-secondary">
                            <span class="pl-0 pr-2 border-right"><i class="iconfont icon-tag mr-2"></i>Golang</span>
                            <span class="ml-2 pl-0 pr-2 border-right hide-span"><i class="iconfont icon-shijian mr-2"></i>2021-08-12 16:06</span>
                            <span class="ml-2 pl-0 pr-2 border-right"><i class="iconfont icon-liulanjilu mr-2"></i>浏览(0)</span>
                            <span class="ml-2 pl-0 pr-2 hide-span"><i class="iconfont icon-zan mr-2"></i>赞(0)</span>
                            <span class="pl-0 float-right"><i class="iconfont icon-zuozhe mr-2"></i>上班偷偷吃个馍</span>
                        </div>
                    </div>
                </div>
                <div class="card shadow mb-3">
                    <div class="card-body pb-1">
                        <h5 class="card-title">go1.16 新增的embed在各流行Web框架中的应用</h5>
                        <p class="card-text">
                            Golang 1.16版本新增了一个大家期待已久的特性//go:embed,它的作用就是可以在Go语言应用程序中包含任何文件、目录的内容，也就是说我们可以把文件以及目录中的内容都打包到生成的Go语言应用程序中了，部署的时候，直接扔一个二进制文件就可以了，不用再包含一些静态文件了，因为它们已经被打包到生成的应用程序中了。
                        </p>
                        <div class="card-footer pl-0 pr-0 text-secondary">
                            <span class="pl-0 pr-2 border-right"><i class="iconfont icon-tag mr-2"></i>Golang</span>
                            <span class="ml-2 pl-0 pr-2 border-right hide-span"><i class="iconfont icon-shijian mr-2"></i>2021-08-12 16:06</span>
                            <span class="ml-2 pl-0 pr-2 border-right"><i class="iconfont icon-liulanjilu mr-2"></i>浏览(0)</span>
                            <span class="ml-2 pl-0 pr-2 hide-span"><i class="iconfont icon-zan mr-2"></i>赞(0)</span>
                            <span class="pl-0 float-right"><i class="iconfont icon-zuozhe mr-2"></i>上班偷偷吃个馍</span>
                        </div>
                    </div>
                </div>
                <div class="card shadow mb-3">
                    <div class="card-body pb-1">
                        <h5 class="card-title">PHP对象序列化</h5>
                        <p class="card-text">
                            PHP中序列化数据使用的两个方法: serialize() 和 unserialize() 。 对一个自定义对象序列化时，有4个魔术方法和预定义接口Serializable，共3个层级。
                        </p>
                        <div class="card-footer pl-0 pr-0 text-secondary">
                            <span class="pl-0 pr-2 border-right"><i class="iconfont icon-tag mr-2"></i>PHP</span>
                            <span class="ml-2 pl-0 pr-2 border-right hide-span"><i class="iconfont icon-shijian mr-2"></i>2021-08-12 18:06</span>
                            <span class="ml-2 pl-0 pr-2 border-right"><i class="iconfont icon-liulanjilu mr-2"></i>浏览(1000)</span>
                            <span class="ml-2 pl-0 pr-2 hide-span"><i class="iconfont icon-zan mr-2"></i>赞(0)</span>
                            <span class="pl-0 float-right"><i class="iconfont icon-zuozhe mr-2"></i>上班偷偷吃个馍</span>
                        </div>
                    </div>
                </div>
                
                <nav aria-label="Page navigation">
                    <ul class="pagination justify-content-center">
                      <li class="page-item">
                        <a class="page-link" href="#" aria-label="Previous">
                          <span aria-hidden="true">&lt;</span>
                        </a>
                      </li>
                      <li class="page-item"><a class="page-link" href="#">1</a></li>
                      <li class="page-item"><a class="page-link" href="#">2</a></li>
                      <li class="page-item"><a class="page-link" href="#">3</a></li>
                      <li class="page-item"><a class="page-link" href="#">4</a></li>
                      <li class="page-item"><a class="page-link" href="#">5</a></li>
                      <li class="page-item"><a class="page-link" href="#">6</a></li>
                      <li class="page-item"><a class="page-link" href="#">7</a></li>
                      <li class="page-item"><a class="page-link" href="#">8</a></li>
                      <li class="page-item"><a class="page-link" href="#">9</a></li>
                      <li class="page-item"><a class="page-link" href="#">10</a></li>
                      <li class="page-item">
                        <a class="page-link" href="#" aria-label="Next">
                          <span aria-hidden="true">&gt;</span>
                        </a>
                      </li>
                    </ul>
                </nav>
            </div>
            <div class="right-box col-sm-3 d-flex flex-column mr-auto">
                <!-- 登录/注册 个人中心 -->
                <div class="card shadow person mb-3">
                    <!-- 登录以后 -->
                    <div class="card-header bg-primary text-light">
                        个人中心 
                        <span class="iconfont icon-shezhi mr-5" data-toggle="tooltip" data-placement="top" title="设置"></span>
                        <span class="iconfont icon-likaichumen float-right" data-toggle="tooltip" data-placement="top" title="退出"></span>
                    </div>
                    <div class="card-body pb-1">
                        <div class="card-title d-flex align-items-center">
                            <img src="head.jpeg" class="avator img-thumbnail mr-2"> <span class="author-name">上班偷偷吃个馍</span>
                            <span class="badge badge-pill badge-danger ml-2 hide-md-tip">10</span>
                        </div>
                        <p class="card-text text-info">
                            这家伙有点懒，还没写个性签名！
                        </p>
                        <div class="card-footer pl-0 pr-0 text-secondary pt-n-1 d-flex justify-content-between">
                            <button type="button" class="btn btn-outline-primary btn-sm">打卡签到</button>
                            <button type="button" class="btn btn-outline-warning hide-button btn-sm">发布话题</button>
                            <button type="button" class="btn btn-outline-success hide-md-button btn-sm">撰写文章</button>
                        </div>
                    </div>
                    <!-- 未登录 -->
                    <!-- <div class="card-header d-flex bg-dark text-light">
                        <a href="javascript:;" id="login" class="btn btn-outline-light btn-sm mr-2">登陆</a> 
                        <a href="javascript:;" class="btn btn-outline-light btn-sm">注册</a>
                    </div> -->
                </div>
                <!-- 公告 -->
                <div class="card shadow notice mb-3">
                    <div class="card-header bg-success text-light">
                        <span class="iconfont icon-iconset0407 mr-2 font-weight-bold"></span>告示
                    </div>
                    <div class="card-body">
                        <p class="card-text">公告公告公告公告公告公告公告公告公告公告公告公告公告公告公告公告公告公告公告公告公告公告公告公告公告公告公告公告公告公告公告公告公告公告</p>
                    </div>
                </div>
                <!-- 标签 -->
                <div class="card shadow mb-3">
                    <div class="card-header bg-warning text-light">
                        <span class="iconfont icon-tag mr-2 font-weight-bold"></span>标签
                    </div>
                    <div class="card-body d-flex flex-wrap">
                        <button class="btn btn-primary badge badge-pill mr-1 mb-1">ThinkPHP</button>
                        <button class="btn btn-success badge badge-pill mr-1 mb-1">MYSQL</button>
                        <button class="btn btn-warning badge badge-pill mr-1 mb-1">JavaScript</button>
                        <button class="btn btn-info badge badge-pill mr-1 mb-1">Vue</button>
                        <button class="btn btn-success badge badge-pill mr-1 mb-1">Yii2</button>
                        <button class="btn btn-primary badge badge-pill mr-1 mb-1">Laravel</button>
                        <button class="btn btn-danger badge badge-pill mr-1 mb-1">BootStrap4</button>
                        <button class="btn btn-primary badge badge-pill mr-1 mb-1">Css3</button>
                        <button class="btn btn-success badge badge-pill mr-1 mb-1">Layui</button>
                        <button class="btn btn-warning badge badge-pill mr-1 mb-1">Element-ui</button>
                        <button class="btn btn-info badge badge-pill mr-1 mb-1">Uniapp</button>
                        <button class="btn btn-success badge badge-pill mr-1 mb-1">Nginx</button>
                        <button class="btn btn-primary badge badge-pill mr-1 mb-1">Node.js</button>
                        <button class="btn btn-danger badge badge-pill mr-1 mb-1">Linux</button>
                    </div>
                </div>
                <!-- 友链 -->
                <div class="card friend-link shadow mb-3">
                    <div class="card-header bg-info text-light">
                        <span class="iconfont icon-lianjie mr-2 font-weight-bold"></span> 友链
                    </div>
                    <div class="card-body d-flex flex-column">
                        <a class="text-secondary" target="_blank" href="http://www.liwenzhou.com"><i class="iconfont icon-link mr-3"></i>李文周的博客</a>
                        <a class="text-secondary" target="_blank" href="http://www.liwenzhou.com"><i class="iconfont icon-link mr-3"></i>李文周的博客</a>
                        <a class="text-secondary" target="_blank" href="http://www.liwenzhou.com"><i class="iconfont icon-link mr-3"></i>李文周的博客</a>
                        <a class="text-secondary" target="_blank" href="http://www.liwenzhou.com"><i class="iconfont icon-link mr-3"></i>李文周的博客</a>
                        <a class="text-secondary" target="_blank" href="http://www.liwenzhou.com"><i class="iconfont icon-link mr-3"></i>李文周的博客</a>
                        <a class="text-secondary" target="_blank" href="http://www.liwenzhou.com"><i class="iconfont icon-link mr-3"></i>李文周的博客</a>
                        <a class="text-secondary" target="_blank" href="http://www.liwenzhou.com"><i class="iconfont icon-link mr-3"></i>李文周的博客</a>
                        <a class="text-secondary" target="_blank" href="http://www.liwenzhou.com"><i class="iconfont icon-link mr-3"></i>李文周的博客</a>
                        <a class="text-secondary" target="_blank" href="http://www.liwenzhou.com"><i class="iconfont icon-link mr-3"></i>李文周的博客</a>
                        <a class="text-secondary" target="_blank" href="http://www.liwenzhou.com"><i class="iconfont icon-link mr-3"></i>李文周的博客</a>
                    </div>
                </div>
                <!-- 站长统计 -->
                <div class="card shadow mb-3">
                    <div class="card-header bg-danger text-light">
                        <span class="iconfont icon-A mr-2 font-weight-bold"></span>站长统计
                    </div>
                    <div class="card-body">
                        <p class="card-text"><span class="iconfont icon-zuzhijiagou mr-2"></span>框架：ThinkPHP 5</p>
                        <p class="card-text"><span class="iconfont icon-banben mr-2"></span>版本：v.1.0.0</p>
                        <p class="card-text"><span class="iconfont icon-zuozhe mr-2"></span>站长：上班偷偷吃个馍</p>
                        <p class="card-text"><span class="iconfont icon-navicon-wzgl mr-2"></span>文章：126 篇</p>
                        <p class="card-text"><span class="iconfont icon-pinglun mr-2"></span> 评论：58 条</p>
                        <p class="card-text"><span class="iconfont icon-liuyan mr-2"></span>留言：112 条</p>
                        <p class="card-text"><span class="iconfont icon-liulanjilu mr-2"></span>访问：129873 次</p>
                        <p class="card-text"><span class="iconfont icon-youxiang mr-2"></span>邮箱：yangvvvvip@163.com</p>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- 底部 -->
    <div class="footer navbar-dark bg-dark text-light pt-2 pb-4" style="height: 2.5rem;">
        <p class="text-center">
            <span class="border-right border-secondary pr-2">2021 © www.phpwhite.cn</span>
            <span class="border-secondary pr-2 pl-2"><a href="http://www.beian.miit.gov.cn" target="_blank" class="text-light">京ICP备2020044972号</a></span>
        </p>
    </div>
    <!-- 悬浮返回顶部 -->
    <a href="javascript:scroll(0, 0);" class="d-none" id="go-top"><i class="iconfont icon-fanhui"></i></a>

    <!-- 登录注册 -->
    <div id="app" class="login-wrap">
        
    </div>
    <div class="modal-backdrop d-none"></div>
    <script>
        $(function() {
            // 提示工具
            $('[data-toggle="tooltip"]').tooltip()
            // 登录注册
            $('#login').on('click', function() {
                $('.modal-backdrop').removeClass('d-none');
                $('.modal-backdrop').addClass('show');
            })
            $('.modal-backdrop').on('click', function() {
                $('.modal-backdrop').removeClass('show');
                $('.modal-backdrop').addClass('d-none');
            })
            window.onscroll = function() {
                // 获取页面可视高度
                var clientHeight=document.documentElement.clientHeight;
                // 获取滚动条距离顶部的高度
                var disTop = document.documentElement.scrollTop || document.body.scrollTop;
                if(disTop >= clientHeight) {
                    $("#go-top").addClass("d-block");
                } else {
                    $("#go-top").removeClass("d-block");
                }
            }
        })
    </script>
</body>
</html>